﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2013-2-25
Description:BSSAGENCYAREA三层结构模型层
=============================================================================	
*/
using System;
using System.Collections.Generic;
using System.Text;
 
using PWMIS.Common;
using PWMIS.DataMap.Entity;
namespace FTchina.Models
{
	/// <summary>
	/// 
	/// </summary>
	[Serializable()]
	public class BSSAGENCYAREA: EntityBase
	{
		
		//不带数的构造方法
		public BSSAGENCYAREA()
		{
            TableName = "BSSAGENCYAREA";
            EntityMap = EntityMapType.Table; 
            PrimaryKeys.Add("AREA_CODE");
			
		}
        
        protected override void SetFieldNames()
        {           
            PropertyNames = new string[] { "AREA_CODE" ,"AREA_NAME" ,"AREA_FRAME" ,"THIS_TAG" ,"USE_TAG" ,"EXTEND_TAG" ,"ORDER_NO" ,"USER_AREA_CODE" ,"PARENT_AREA_CODE" ,"START_DATE" ,"END_DATE" ,"AREA_LEVEL" ,"VALIDFLAG" ,"REMARK" ,"RSVALUE1" ,"RSVALUE2" ,"UPDATE_TIME" ,"UPDATE_STAFF_ID" ,"UPDATE_DEPART_ID" };
        }  
        
		#region BSSAGENCYAREA Filed
 		public System.String AREA_CODE
		{
			 get{return getProperty<System.String>("AREA_CODE");}
             set{setProperty("AREA_CODE",value );}
		}		 
 		public System.String AREA_NAME
		{
			 get{return getProperty<System.String>("AREA_NAME");}
             set{setProperty("AREA_NAME",value );}
		}		 
 		public System.String AREA_FRAME
		{
			 get{return getProperty<System.String>("AREA_FRAME");}
             set{setProperty("AREA_FRAME",value );}
		}		 
 		public System.String THIS_TAG
		{
			 get{return getProperty<System.String>("THIS_TAG");}
             set{setProperty("THIS_TAG",value );}
		}		 
 		public System.String USE_TAG
		{
			 get{return getProperty<System.String>("USE_TAG");}
             set{setProperty("USE_TAG",value );}
		}		 
 		public System.String EXTEND_TAG
		{
			 get{return getProperty<System.String>("EXTEND_TAG");}
             set{setProperty("EXTEND_TAG",value );}
		}		 
 		public System.Int16 ORDER_NO
		{
			 get{return getProperty<System.Int16>("ORDER_NO");}
             set{setProperty("ORDER_NO",value );}
		}		 
 		public System.String USER_AREA_CODE
		{
			 get{return getProperty<System.String>("USER_AREA_CODE");}
             set{setProperty("USER_AREA_CODE",value );}
		}		 
 		public System.String PARENT_AREA_CODE
		{
			 get{return getProperty<System.String>("PARENT_AREA_CODE");}
             set{setProperty("PARENT_AREA_CODE",value );}
		}		 
 		public System.DateTime START_DATE
		{
			 get{return getProperty<System.DateTime>("START_DATE");}
             set{setProperty("START_DATE",value );}
		}		 
 		public System.DateTime END_DATE
		{
			 get{return getProperty<System.DateTime>("END_DATE");}
             set{setProperty("END_DATE",value );}
		}		 
 		public byte AREA_LEVEL
		{
			 get{return getProperty<byte>("AREA_LEVEL");}
             set{setProperty("AREA_LEVEL",value );}
		}		 
 		public System.String VALIDFLAG
		{
			 get{return getProperty<System.String>("VALIDFLAG");}
             set{setProperty("VALIDFLAG",value );}
		}		 
 		public System.String REMARK
		{
			 get{return getProperty<System.String>("REMARK");}
             set{setProperty("REMARK",value );}
		}		 
 		public System.String RSVALUE1
		{
			 get{return getProperty<System.String>("RSVALUE1");}
             set{setProperty("RSVALUE1",value );}
		}		 
 		public System.String RSVALUE2
		{
			 get{return getProperty<System.String>("RSVALUE2");}
             set{setProperty("RSVALUE2",value );}
		}		 
 		public System.DateTime UPDATE_TIME
		{
			 get{return getProperty<System.DateTime>("UPDATE_TIME");}
             set{setProperty("UPDATE_TIME",value );}
		}		 
 		public System.String UPDATE_STAFF_ID
		{
			 get{return getProperty<System.String>("UPDATE_STAFF_ID");}
             set{setProperty("UPDATE_STAFF_ID",value );}
		}		 
 		public System.String UPDATE_DEPART_ID
		{
			 get{return getProperty<System.String>("UPDATE_DEPART_ID");}
             set{setProperty("UPDATE_DEPART_ID",value );}
		}		 
		#endregion
	}
}

